package com.cn.ant.modules.wechat.entity;

import com.cn.ant.common.persistence.MyDataEntity;
import com.cn.ant.modules.sys.entity.User;

import java.util.Date;

public class WeixinAccount extends MyDataEntity{
    private String id;
    private String accountName;//公众帐号名称
    private String accountToken;//公众帐号TOKEN
    private String accountNumber;//公众微信号
    private String accountType;//公众号类型
    private String accountEmail;//电子邮箱
    private String accountDesc;//公众帐号描述
    private String accountAccessToken;//ACCESS_TOKEN
    private String accountAppId;//公众帐号APPID
    private String accountAppSecret;//公众帐号APPSECRET
    private Date addToeknTime;
    private String userName;
    private String weixinAccountId;
    private String officeId;

    private User user;

    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getAccountToken() {
        return accountToken;
    }

    public void setAccountToken(String accountToken) {
        this.accountToken = accountToken;
    }

    public String getAccountNumber() {
        return accountNumber;
    }

    public void setAccountNumber(String accountNumber) {
        this.accountNumber = accountNumber;
    }

    public String getAccountType() {
        return accountType;
    }

    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }

    public String getAccountEmail() {
        return accountEmail;
    }

    public void setAccountEmail(String accountEmail) {
        this.accountEmail = accountEmail;
    }

    public String getAccountDesc() {
        return accountDesc;
    }

    public void setAccountDesc(String accountDesc) {
        this.accountDesc = accountDesc;
    }

    public String getAccountAccessToken() {
        return accountAccessToken;
    }

    public void setAccountAccessToken(String accountAccessToken) {
        this.accountAccessToken = accountAccessToken;
    }

    public String getAccountAppId() {
        return accountAppId;
    }

    public void setAccountAppId(String accountAppId) {
        this.accountAppId = accountAppId;
    }

    public String getAccountAppSecret() {
        return accountAppSecret;
    }

    public void setAccountAppSecret(String accountAppSecret) {
        this.accountAppSecret = accountAppSecret;
    }

    public Date getAddToeknTime() {
        return addToeknTime;
    }

    public void setAddToeknTime(Date addToeknTime) {
        this.addToeknTime = addToeknTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getWeixinAccountId() {
        return weixinAccountId;
    }

    public void setWeixinAccountId(String weixinAccountId) {
        this.weixinAccountId = weixinAccountId;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getOfficeId() {
        return officeId;
    }

    public void setOfficeId(String officeId) {
        this.officeId = officeId;
    }
}